﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;
using MedicalPCTerminal.Read.API.Dtos;

namespace MedicalPCTerminal.Read.API.Appcation.Commands.OperationaldecisionsCommand
{
    public class ManagementhierarchyQueryCommand:IRequest<ApiPaging<ManagementhierarchyDto>>
    {


        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 医院名称
        /// </summary>
        public string? OrgName { get; set; }

        /// <summary>
        /// 高血压知晓情况  0:患有高血压   1：血压正常   2：从未测量
        /// </summary>
        public int? Hypertension { get; set; }

        /// <summary>
        /// 糖尿病知晓情况  0：患有糖尿病  1：血糖正常  2：从未测量
        /// </summary>
        public int? Diabetes { get; set; }

        /// <summary>
        /// 签约开始时间范围-开始
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 签约开始时间范围-结束
        /// </summary>
        public DateTime? EndTime { get; set; }
    }
}
